package com.zr.service.car;

import com.zr.vo.car.Car;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface CarService {
    List<Car> list(Car car);

    void add(Car car);

    void edit(Car car);


    void del(Long id);


    void uploadImg(MultipartFile file, Long id) throws IOException;

    String loadImg(Long id);

    String loadImgByImgUrl(String imgUrl);

    String image(Long id);
}

